Fix default for the authentication on the Xen-API server -- the default should
authorEwan Mellor <ewan@xensource.com>
Thu, 30 Nov 2006 20:16:54 +0000 (20:16 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 30 Nov 2006 20:16:54 +0000 (20:16 +0000)
be PAM, not none!

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/server/SrvServer.py

index 934e6d300be0c2d56737de3963c4f0f4a39218f6..f995a13bf9a49d11b298f6497cf91251ede76577 100644 (file)
@@ -154,7 +154,7 @@ def create():
     if api_cfg:
         try:
             addrs = [(str(x[0]).split(':'),
-                      len(x) > 1 and x[1] or XendAPI.AUTH_NONE,
+                      len(x) > 1 and x[1] or XendAPI.AUTH_PAM,
                       len(x) > 2 and x[2] and map(re.compile, x[2].split(" "))
                       or None)
                      for x in api_cfg]